package org.br.erp.project.project.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.UnsupportedEncodingException;

/**
 * @Description: 项目任务分录
 * @Author: jeecg-boot
 * @Date:   2024-05-08
 * @Version: V1.0
 */
@ApiModel(value="projectitem对象", description="项目任务分录")
@Data
@TableName("projectitem")
@Entity
public class Projectitem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @Id
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**任务名称*/
	@Excel(name = "任务名称", width = 15)
    @ApiModelProperty(value = "任务名称")
    private java.lang.String taskname;
	/**任务分类*/
	@Excel(name = "任务分类", width = 15)
    @ApiModelProperty(value = "任务分类")
    @Dict(dictTable = "projecttaskcate",dicCode = "id",dicText = "name")
    private java.lang.String taskcate;
	/**任务标签*/
	@Excel(name = "任务标签", width = 15)
    @ApiModelProperty(value = "任务标签")
    private java.lang.String tasktag;

    @Column(length = 32)
    @Dict(dictTable = "sys_user",dicText = "realname",dicCode = "id")
    private String assigntoid;
	/**任务开始日期*/
	@Excel(name = "任务开始日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "任务开始日期")
    private java.util.Date taskstartdate;
	/**任务结束日期*/
	@Excel(name = "任务结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "任务结束日期")
    private java.util.Date taskenddate;
	/**任务进度*/
	@Excel(name = "任务进度", width = 15)
    @ApiModelProperty(value = "任务进度")
    private java.lang.String taskprogress;
	/**parentid*/
    @ApiModelProperty(value = "parentid")
    private java.lang.String parentid;
}
